package dome1;

public class Text {
    public static void main(String[] args) {
        int[] arr = {4,2,1,6};
        BinarySearchTree binarySearchTree = new BinarySearchTree();
        for (int i = 0; i < arr.length; i++) {
            binarySearchTree.insert(arr[i]);
        }
        System.out.println(binarySearchTree.search(14));
    }
}
